home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ MSOXP OTL Options 1.xpl < prev    next >
Text File  |  2002-05-11  |  2KB  |  52 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Microsoft Office\MS Office XP\Outlook"
  5. "NAME"="Email Editor"
  6. "VERSION"="1.04"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Enable Outlook built-in Email editor (do not use Word)"
  9. "DESCRIPTION 1"="Normally, you can use Outlook to switch between the built-in email editor and Word. "
  10. "DESCRIPTION 2"="However, in some circumstances Outlook does not allow you to switch back to the built-in email editor. "
  11. "DESCRIPTION 3"="In this case, simply active the first setting you Outlook will use its built-in email editor again. Please remember to restart Outlook to apply the changes."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com/"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All rights reserved."
  15. "COMMENT 1"="Visit http://www.xteq.com/"
  16.  
  17.  
  18.  
  19. 'Declaration of some constants
  20. sV1="HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Options\Outlook Editor\@" 'STR: 1
  21.  
  22. sPCheck="HKCU\Software\Microsoft\Office\10.0\Word\"
  23. Sub Plugin_Initialize 
  24. if RegPathExists(sPCheck) then
  25.    i=RegReadValue(sV1)
  26.    if i=0 then SetUIElement 1,true
  27. else
  28.    Disable()
  29. end if
  30. END SUB
  31.  
  32. 'Called when the Plugin should validate the Data the user has entered
  33. SUB Plugin_CheckData(ElementIndex)
  34. END SUB
  35.  
  36. 'Called when the Plugin should apply the changes
  37. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  b=GetUIElement(1)
  39.  if b=true then
  40.     s="0"
  41.  else
  42.     s=""
  43.  end if
  44.  Call RegWriteValue(sV1,s,1)
  45.  
  46.  
  47. END SUB
  48.  
  49. 'Called when the Plugin is about to be removed from memory
  50. SUB Plugin_Terminate
  51. END SUB
  52.